<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[rules]" />
	{volist name='column_list' id='column'}
          <div class="form-group">
           	<label class="col-sm-3 control-label">{eq name='column.is_required' value='yes'}*{/eq} {$column.column_name_cn}</label>
               <div class="col-sm-7">
     					{eq name='column.column_type' value='text'}
                 			<input name="{$column.column_name}" type="text" value="{$apply_row[$column['column_name']]}" class="form-control" date-col="{$column.column_name_cn}" 
                 			{eq name='column.is_required' value='yes'}verify="text"{/eq} placeholder="{$column.column_placeholder}" date-tips="请填写{$column.column_name_cn}">
     					{/eq}
     					{eq name='column.column_type' value='select'}
                   	<select name="{$column.column_name}"  class="form-control" date-col="{$column.column_name_cn}" date-tips="请选择{$column.column_name_cn}" 
                   	{eq name='column.is_required' value='yes'}verify="select"{/eq} >
						<option value="">请选择</option>
						{volist name='column.column_options' id='option'}
						<option {eq name='apply_row[$column[column_name]]' value='$option'}selected{/eq} value="{$option}">{$option}</option>
						{/volist}
					</select>
          			{/eq}
       			</div>
           </div>
        	{/volist}
	<div class="form-group layer-footer">
	    <label class="control-label col-xs-12 col-sm-2"></label>
	    <div class="col-xs-12 col-sm-8">
	        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
	        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
	    </div>
	</div>
</form>
<script>
    var nodeData = {:json_encode($nodeList); };
</script>